#include "StdAfx.h"
#include "AbstractPCFac.h"
#include "PC1Factory.h"
#include "Player1.h"
#include "Bomb1.h"


AbstractPCFac* PC1Factory::Instance()
{
	if(_p_this == NULL)
	{
		_p_this = new PC1Factory();
	}
	return _p_this;
}

Player* PC1Factory::MakePlayer()
{
	Player* tempP = new Player1();
	tempP->Init();
	return tempP;
}
Bomb* PC1Factory::MakeBomb()
{
	Bomb* tempB = new Bomb1();
	return tempB;
}

PC1Factory::PC1Factory()
{
}